<?php namespace Home\Controller; 
use Hdphp\Controller\Controller;

//前台控制器
class IndexController extends Controller{

	//首页
    public function index(){
       $classData=Db::table('class')->get();
	   View::with('classData',$classData);
	   View::make();
    }
}
